<?php
        $to_user = $this->to_user;
        if($this->is_sent){

        ?>
            <div class="container">
                <div class="success-message" style="display: block">
                    <div class="notification success closeable">
                        <p><span>Success!</span> Your message has been sent.</p>
                    </div>
                </div>
            </div>
<?php         }
?>



<div id="wrapper" class="white-wrapper">
    <div class="container">
    <form action="/user/inbox" method="post" name="AdminTopic" class="form-horizontal" enctype="multipart/form-data" id="AdminTopic">
        <input name="to_user" type="hidden" value="<?php echo $to_user; ?>">
        <div class="field"><label class="label" for="typeahead">Message</label>
            <div class="controls">
                <textarea name="message_content" class="input-xlarge focused span6 typeahead"></textarea>
            </div>
        </div>
        <div class="form-actions">
            <div class="">
                <input name="submit" type="submit" id="submitbutton" class="btn btn-primary span3 typeahead" value="Go"></div>
        </div>
    </form>
</div>
</div>